#ifndef __M_DEBUG_TOOL_H
#define __M_DEBUG_TOOL_H

#define TL_DBG(fmt,args...) do { printk(fmt,##args);} while(0)
#define TL_INFO(fmt,args...) do { printk(fmt,##args);} while(0)
#define TL_WARN(fmt,args...) do { printk(fmt,##args);} while(0)
#define TL_ERR(fmt,args...) do { printk(fmt,##args);} while(0)

//add dev information log
#define TL_DEV_DBG(dev,fmt,args...) do {printk("%s: ",dev_name(dev)); printk(fmt,##args);} while(0)
#define TL_DEV_INFO(dev,fmt,args...) do {printk("%s: ",dev_name(dev)); printk(fmt,##args);} while(0)
#define TL_DEV_WARN(dev,fmt,args...) do {printk("%s: ",dev_name(dev)); printk(fmt,##args);} while(0)
#define TL_DEV_ERR(dev,fmt,args...) do {printk("%s: ",dev_name(dev)); printk(fmt,##args);} while(0)




extern struct list_head dpm_list;
extern struct list_head dpm_prepared_list;
extern struct list_head dpm_suspended_list;
extern struct list_head dpm_late_early_list;
extern struct list_head dpm_noirq_list;

struct list_head * get_dpm_list(void);

#endif
